<div class="page-header">
    <div class="row">
        <div class="col-md-12">
{if $member}
            <a class="btn btn-success" href="{function.url('member/index')}">个人中心</a>
            <a class="btn btn-default" href="{function.url('member/login/out')}">退出</a>
{else}
            <a class="btn btn-default" href="{function.url('member/login')}">会员登录</a>
            <a class="btn btn-default" href="{function.url('member/register')}">免费注册</a>
{/if}
        </div>
    </div>
</div>
